package com.situ.ssm.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.situ.ssm.entity.Banji;
import com.situ.ssm.vo.BanjiSearchCondition;

public interface BanjiMapper {

	List<Banji> list();

	Integer getTotalCount(BanjiSearchCondition condition);

	List<Map<String, Object>> findPageBeanList(@Param("condition")BanjiSearchCondition condition, @Param("offset")Integer offset);

	Integer insert(Banji banji);

	Integer deleteById(Integer id);

	Integer deleteAll(String[] selectIds);

	Banji findById(Integer id);

	Integer update(Banji banji);

	Integer checkName(String name);

}
